﻿@model lnxsj.web.Recruitment.Models.User

@{
    ViewBag.Title = "Edit";
}

<h2>编辑 ( 用户名：@Model.登录名 )</h2>
<p></p>
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>User</legend>

        @Html.HiddenFor(model => model.Id)

        <div class="editor-label">
            @Html.LabelFor(model => model.显示名)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.显示名)
            @Html.ValidationMessageFor(model => model.登录名)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.备注)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.备注)
            @Html.ValidationMessageFor(model => model.备注)
        </div>
        <div style="border:1px solid #d0d0d0; padding-left:10px; width:180px">
        <input style="border:0px solid #d0d0d0" type="checkbox" name="resetPSW"/>重置密码为"123456"
        </div>
        <p>
            <input type="submit" value="提交" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("返回", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
